import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
// import '@/assets/global.less'
import '@/elementUI/index'
import VueQuillEditor from 'vue-quill-editor'
// 导入格式化时间包
import dayjs from 'dayjs'
// require styles
// import 'quill/dist/quill.core.css'
// import 'quill/dist/quill.snow.css'
// import 'quill/dist/quill.bubble.css'
Vue.config.productionTip = false
// 定义格式化事件函数
Vue.prototype.$fromatDate = (dateObj) => {
  return dayjs(dateObj).format('YYYY-MM-DD HH:mm:ss')
}
Vue.use(VueQuillEditor) // 此方法内会用vue.component注册一个插件
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
